package com.shiroha.chat.service;

import com.mybatisflex.core.service.IService;
import com.shiroha.chat.pojo.ChatRecord;
import com.shiroha.chat.pojo.dto.ChatMessage;

public interface IChatService extends IService<ChatRecord>  {
    /**
     * 保存聊天消息
     * @param chatMessage 聊天消息
     */
    void saveChatMessage(ChatMessage chatMessage);

    void handleChatMessage(ChatMessage chatMessage);
}
